<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>


	<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="" cellspacing="1">
	<tr class="">
		<td   colspan="" class="t_bar2"><span class="color_red">*</span>产品市场前景和经济效益分析</td>
	</tr>
	<tr class="">
		<td   colspan="" class="t_bar2">（1）近三年产品经济效益</td>
	</tr>
</table>
<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="tblMileStones3" cellspacing="1">
	   <thead >
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="13%">年份</th> 
						<th class="TblHead" align="center"  width="13%">产量</th> 				
						<th class="TblHead" align="center"  width="13%">计量单位</th>	
						<th class="TblHead" align="center"  width="13%">销售额（万元）</th>
						<th class="TblHead" align="center"  width="13%">利润（万元）</th> 
						<th class="TblHead" align="center"  width="13%">创汇（万美元）</th> 				
						<th class="TblHead" align="center"  width="12%">上缴增值税<br/>（万元）</th>								
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones3" ></td>
						<td align="center"><span name="milestones|milestone3[0]@seq_no" >[index]</span></td>
						<td align="center"><input name="milestones|milestone3[0]|content1" label="年份" value="" class="required input_text " onfocus="InitInput.setNumber(this,4,0,0)"  style="width:80%;text-align:right;" /></td>
						<td align="center"><input name="milestones|milestone3[0]|content2" label="产量" value="" class="required input_text "  maxlength="20" style="width:80%;" /></td>
						<td align="center"><input name="milestones|milestone3[0]|content3" label="计量单位" value="" class="required input_text "  maxlength="20" style="width:80%;" /></td>
						<td align="center"><input name="milestones|milestone3[0]|content4" label="销售额" value="" class="required input_text " onfocus="InitInput.setNumber(this,7,2,2)"  style="width:80%;text-align:right;" /></td>
						<td align="center"><input name="milestones|milestone3[0]|content5" label="利润" value="" class="required input_text " onfocus="InitInput.setNumber(this,7,2,2)"  style="width:80%;text-align:right;" /></td>
						<td align="center"><input name="milestones|milestone3[0]|content6" label="创汇" value="" class="required input_text " onfocus="InitInput.setNumber(this,7,2,2)"  style="width:80%;text-align:right;" /></td>
						<td align="center"><input name="milestones|milestone3[0]|content7" label="上缴增值税" value="" class="required input_text " onfocus="InitInput.setNumber(this,7,2,2)"  style="width:80%;text-align:right;" /></td>
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/milestones/milestone3" var="milestone3">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones3" ></td>
						<td align="center"><span   name="milestones/milestone3[${flag}${index}]@seq_no" ><x:out select="$milestone3/@seq_no"/></span></td>
						<td align="center"><input value="<x:out select="$milestone3/content1"/>" label="年份" name="milestones/milestone3[${flag}${index}]/content1" class="required" onfocus="InitInput.setNumber(this,4,0,0)" style="width:80%;text-align:right;"  /></td>
						<td align="center"><input value="<x:out select="$milestone3/content2"/>" label="产量" name="milestones/milestone3[${flag}${index}]/content2" maxlength="20" class="required"  style="width:80%;"  /></td>
						<td align="center"><input value="<x:out select="$milestone3/content3"/>" label="计量单位" name="milestones/milestone3[${flag}${index}]/content3" maxlength="20" class="required"  style="width:80%;"  /></td>
						<td align="center"><input value="<x:out select="$milestone3/content4"/>" label="销售额" name="milestones/milestone3[${flag}${index}]/content4"  class="required" onfocus="InitInput.setNumber(this,7,2,2)" style="width:80%;text-align:right;"  /></td>
						<td align="center"><input value="<x:out select="$milestone3/content5"/>" label="利润" name="milestones/milestone3[${flag}${index}]/content5"  class="required" onfocus="InitInput.setNumber(this,7,2,2)" style="width:80%;text-align:right;"  /></td>
						<td align="center"><input value="<x:out select="$milestone3/content6"/>" label="创汇" name="milestones/milestone3[${flag}${index}]/content6"  class="required" onfocus="InitInput.setNumber(this,7,2,2)" style="width:80%;text-align:right;"  /></td>
						<td align="center"><input value="<x:out select="$milestone3/content7"/>" label="上缴增值税" name="milestones/milestone3[${flag}${index}]/content7"  class="required" onfocus="InitInput.setNumber(this,7,2,2)" style="width:80%;text-align:right;"  /></td>
					</tr>
					
	
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMileStones3");
					</script>
				</tbody>
			</table>

		<table width="91%" align="center">
		<tr >
		<td>
			<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones3',3,'近三年产品经济效益最多只能填写3条')){addNewRow('tblMileStones3');showDateTag('tblMileStones3');}try{top.resizeFrame();}catch(e){};">
			<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones3','selMileStones3')">
			<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones3','selMileStones3')">
			<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones3','近三年产品经济效益')">
			</td>
		</tr>
    </table>









<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="" cellspacing="1">
	<tr class="">
		<td   colspan="" class="t_bar2">（2）主要竞争企业</td>
	</tr>
</table>
<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="tblMileStones4" cellspacing="1">
	   <thead >
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="10%">选择</th>
						<th class="TblHead" align="center"  width="10%">序号</th>
						<th class="TblHead" align="center"  width="80%">企业名称</th> 						
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones4" ></td>
						<td align="center"><span name="milestones|milestone4[0]@seq_no" >[index]</span></td>
						<td align="center"><input name="milestones|milestone4[0]|content1" label="企业名称" value="" class="required input_text "  maxlength="50" style="width:80%;" /></td>
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/milestones/milestone4" var="milestone4">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones4" ></td>
						<td align="center"><span   name="milestones/milestone4[${flag}${index}]@seq_no" ><x:out select="$milestone4/@seq_no"/></span></td>
						<td align="center"><input value="<x:out select="$milestone4/content1"/>" label="企业名称" name="milestones/milestone4[${flag}${index}]/content1" maxlength="50" class="required"  style="width:80%;"  /></td>
					</tr>
		
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMileStones4");
					</script>
				</tbody>
			</table>

		<table width="91%" align="center">
		<tr >
		<td>
			<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones4',3,'主要竞争企业最多只能填写3条')){addNewRow('tblMileStones4');showDateTag('tblMileStones4');}try{top.resizeFrame();}catch(e){};">
			<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones4','selMileStones4')">
			<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones4','selMileStones4')">
			<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones4','主要竞争企业')">
			</td>
		</tr>
    </table>


<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo5" cellspacing="1">
	<tr class="">
		<td   colspan="" class="t_bar2">（3）产品市场及社会竞争力分析（限120字）</td>
	</tr>
  <tr>
  <td>
		<textarea rows="4" style="width:98%;"  class="input_textarea required  maxlength:120"   name='proposal/goal/summary10'  label="（3）产品市场及社会竞争力分析"><x:out select="$xmlData/data/proposal/goal/summary10"/></textarea>
	  <input type='hidden' name='proposal/goal/summary10_hidden' id='proposal/goal/summary10_hidden' value='<x:out select="$xmlData/data/proposal/goal/summary10_hidden"/>'>
  </td>
  </tr>

	<tr class="">
		<td   colspan="" class="t_bar2">（4）商业模式、品牌优势（限200字）</td>
	</tr>
  <tr>
  <td>
		<textarea rows="4" style="width:98%;"  class="input_textarea required  maxlength:200"   name='proposal/goal/summary11'  label="（4）商业模式、品牌优势"><x:out select="$xmlData/data/proposal/goal/summary11"/></textarea>
	  <input type='hidden' name='proposal/goal/summary11_hidden' id='proposal/goal/summary11_hidden' value='<x:out select="$xmlData/data/proposal/goal/summary11_hidden"/>'>
  </td>
  </tr>
</table>





<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo6" cellspacing="1">
  <col style="width:15%"/>
	<col style="width:35%"/>
	<col style="width:15%"/>
	<col style="width:35%"/>

	<tr class="">
		<td   colspan="4" class="t_bar2"><span class="color_red">*</span>产品社会经济效益分析</td>
	</tr>
  <tr class="li_1">
      <td align="left" colspan="4"><strong>促进就业及拉动内需方面情况简要说明（限120字）</strong></td>
  </tr>
 <tr>
  <td colspan="4">
		<textarea rows="4" style="width:98%;"  class="input_textarea required  maxlength:120"   name='proposal/goal/summary12'  label="促进就业及拉动内需方面情况简要说明"><x:out select="$xmlData/data/proposal/goal/summary12"/></textarea>
	  <input type='hidden' name='proposal/goal/summary12_hidden' id='proposal/goal/summary12_hidden' value='<x:out select="$xmlData/data/proposal/goal/summary12_hidden"/>'>
  </td>
  </tr>


<tr class="li_2">
<td align="right" nowrap="nowrap">是否具有节能减排作用：</td>
<td nowrap colspan="1" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="save_energy" label="是" value="01" /><span style="vertical-align: middle;">是</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="save_energy" label="否" value="02" /><span style="vertical-align: middle;">否</span></label> &nbsp;&nbsp;&nbsp;
	<input type="hidden" name="proposal/save_energy_value" id="save_energy_value" class="required" value="<x:out select="$xmlData/data/proposal/save_energy_value" />" label="是否具有节能减排作用" /> 
	<input type="hidden" name="proposal/save_energy_name" id="save_energy_name" value="<x:out select="$xmlData/data/proposal/save_energy_name" />" label="是否具有节能减排作用" />
	</td>

<td align="right" nowrap="nowrap">情况说明：</td>
<td>
		<input  name="proposal/condition_introduction" label="情况说明" type="text" required class="input_css required maxlength:100"  maxlength="100" value="<x:out select="$xmlData/data/proposal/condition_introduction" />"/> 
</td>
</tr>
</table>




<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo7" cellspacing="1">
  <col style="width:15%"/>
	<col style="width:35%"/>
	<col style="width:15%"/>
	<col style="width:35%"/>
<tr class="">
		<td   colspan="4" class="t_bar2">环境影响</td>
</tr>
<tr>
<td align="right" nowrap="nowrap"><span class="color_red">*</span>污染物种类：</td>
<td nowrap colspan="1" valign="middle">
  <label> <input type="radio" class="do " id="pollution_type_01" style="vertical-align: middle;" name="pollution_type" label="废水" value="01" onclick="showText4(this)"/><span style="vertical-align: middle;">废水</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="pollution_type_02" style="vertical-align: middle;" name="pollution_type" label="废气" value="02" onclick="showText4(this)"/><span style="vertical-align: middle;">废气</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="pollution_type_03" style="vertical-align: middle;" name="pollution_type" label="废渣、物" value="03" onclick="showText4(this)"/><span style="vertical-align: middle;">废渣、物</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="pollution_type_04" style="vertical-align: middle;" name="pollution_type" label="噪音" value="04" onclick="showText4(this)"/><span style="vertical-align: middle;">噪音</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="pollution_type_05" style="vertical-align: middle;" name="pollution_type" label="无" value="05" onclick="showText4(this)"/><span style="vertical-align: middle;">无</span></label> &nbsp;&nbsp;&nbsp;
	<input type="hidden" name="proposal/pollution_type_value" id="pollution_type_value" class="required" value="<x:out select="$xmlData/data/proposal/pollution_type_value" />" label="污染物种类" /> 
	<input type="hidden" name="proposal/pollution_type_name" id="pollution_type_name" value="<x:out select="$xmlData/data/proposal/pollution_type_name" />" label="污染物种类" />
</td>
<td align="right" nowrap="nowrap"><span class="color_red" style="display:none" id="type8">*</span>污染物名称：</td>
<td>
		<input  name="proposal/pollution_name"   id="pollution_name"  label="污染物名称" type="text"  class="input_css  maxlength:100"  maxlength="100" value="<x:out select="$xmlData/data/proposal/pollution_name" />"/> 
</td>
</tr>

<tr class="li_2">
<td align="right" nowrap="nowrap"><span class="color_red">*</span>环保检测机构名称：</td>
<td colspan="">
		<input  name="proposal/environment_protect_name" label="环保检测机构名称" type="text" required class="input_css required maxlength:100"  maxlength="100" value="<x:out select="$xmlData/data/proposal/environment_protect_name" />"/> 
</td>

<td align="right" nowrap="nowrap"><span class="color_red">*</span>是否符合国家环保标准：</td>
<td nowrap colspan="3" valign="middle">
  <label> <input type="radio" class="do " id="environment_protect_standard_01" style="vertical-align: middle;" name="environment_protect_standard" label="符合" value="01" /><span style="vertical-align: middle;">符合</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="environment_protect_standard_02" style="vertical-align: middle;" name="environment_protect_standard" label="不符合" value="02" /><span style="vertical-align: middle;">不符合</span></label> &nbsp;&nbsp;&nbsp;
	<input type="hidden" name="proposal/environment_protect_standard_value" id="environment_protect_standard_value" class="required" value="<x:out select="$xmlData/data/proposal/environment_protect_standard_value" />" label="是否符合国家环保标准" /> 
	<input type="hidden" name="proposal/environment_protect_standard_name" id="environment_protect_standard_name" value="<x:out select="$xmlData/data/proposal/environment_protect_standard_name" />" label="是否符合国家环保标准" />
</td>
</tr>

<tr class="li_1"><td align="left" colspan="4"><strong><span class="color_red">*</span>治理措施及效果（限120字）</strong></td></tr>
<tr>
  <td colspan="4">
		<textarea rows="4" style="width:98%;"  class="input_textarea required  maxlength:120"   name='proposal/goal/summary13'  label="治理措施及效果"><x:out select="$xmlData/data/proposal/goal/summary13"/></textarea>
	  <input type='hidden' name='proposal/goal/summary13_hidden' id='proposal/goal/summary13_hidden' value='<x:out select="$xmlData/data/proposal/goal/summary13_hidden"/>'>
  </td>
</tr>





<tr class="li_1"><td align="left" colspan="4"><strong><span class="color_red">*</span>对产业结构调整、行业技术进步的促进与带动作用（限120字）</strong></td></tr>
<tr>
  <td colspan="4">
		<textarea rows="4" style="width:98%;"  class="input_textarea required  maxlength:120"   name='proposal/goal/summary14'  label="对产业结构调整、行业技术进步的促进与带动作用"><x:out select="$xmlData/data/proposal/goal/summary14"/></textarea>
	  <input type='hidden' name='proposal/goal/summary14_hidden' id='proposal/goal/summary14_hidden' value='<x:out select="$xmlData/data/proposal/goal/summary14_hidden"/>'>
  </td>
</tr>  
  
  
  
  
  
<tr class="li_1"><td align="left" colspan="4"><strong><span class="color_red">*</span>与国家产业、技术政策关系（限120字）</strong></td></tr>
 <tr>
  <td colspan="4">
		<textarea rows="4" style="width:98%;"  class="input_textarea required  maxlength:150"   name='proposal/goal/summary15'  label="与国家产业、技术政策关系"><x:out select="$xmlData/data/proposal/goal/summary15"/></textarea>
	  <input type='hidden' name='proposal/goal/summary15_hidden' id='proposal/goal/summary15_hidden' value='<x:out select="$xmlData/data/proposal/goal/summary15_hidden"/>'>
  </td>
</tr>
  </table>
  
  
  
  
  
  
  <table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo8" cellspacing="1">
  <col style="width:15%"/>
	<col style="width:35%"/>
	<col style="width:15%"/>
	<col style="width:35%"/>
<tr class="li_1"><td align="left" colspan="4"><strong>企业未来融资需求</strong></td></tr>
<tr class="li_2">
<td align="right"><span class="color_red">*</span>银行贷款（万元）：</td>
<td><input type="text"  onfocus="InitInput.setNumber(this,7,2,2)"  label="银行贷款"   name="future_need/bank_loan" id="bank_loan" style="text-align:right; width:100px;" class="required" value="<x:out select="$xmlData/data/future_need/bank_loan" />" /></td>
<td align="right"><span class="color_red">*</span>股权融资（万元）：</td>
<td><input type="text"  onfocus="InitInput.setNumber(this,7,2,2)"  label="股权融资"   name="future_need/stock_rights" id="stock_rights" style="text-align:right; width:100px;" class="required" value="<x:out select="$xmlData/data/future_need/stock_rights" />" /></td>
</tr>


</table>





<script type="text/javascript">



function showText4(obj){
	if($("#"+$(obj).attr("name")+"_05").attr("checked")=="checked"){	
		$("#type8").hide();
		$("#pollution_name").removeClass("required");
		$("#pollution_name").val("");
	}else{
		$("#type8").show();
		$("#pollution_name").addClass("required");
	}	
}



$(function(){
	$("input[id^='pollution_type_0']").each(function(){
		  showText4($(this));
		   });
	
	$("#tblMileStones3 tr:even").addClass("li_1");
	$("#tblMileStones3 tr:odd").addClass("li_2");
	$("#tblMileStones4 tr:even").addClass("li_1");
	$("#tblMileStones4 tr:odd").addClass("li_2");
});

</script>
	